package com.pqtest.api.domain;

import com.pqtest.api.dto.ConnectionDto;
import com.pqtest.api.entity.ConnectionEntity;
import com.pqtest.api.utils.DtoEntityTransformer;
import org.springframework.stereotype.Component;

@Component
public class ConnectionDomain {
    //收藏
    public ConnectionEntity collected(ConnectionDto connectionDto){
        ConnectionEntity connectionEntity = new ConnectionEntity();
        DtoEntityTransformer.transalte(connectionDto,connectionEntity);
        return connectionEntity;
    }
    //获取报表
}
